home *** CD-ROM | disk | FTP | other *** search
- class AtomicClock$c extends Thread {
- // $FF: renamed from: if boolean
- private boolean field_0;
- // $FF: renamed from: a boolean
- private boolean field_1;
- // $FF: synthetic field
- private final AtomicClock this$0;
-
- AtomicClock$c(AtomicClock var1) {
- this.this$0 = var1;
- this.field_0 = true;
- this.field_1 = false;
- }
-
- public synchronized void run() {
- while(this.field_0) {
- while(!this.field_1) {
- try {
- this.wait();
- } catch (Exception var3) {
- this.this$0.a("Problem in Counter wait\n" + var3);
- }
- }
-
- if (this.field_0) {
- AtomicClock.access$602(AtomicClock.access$800(AtomicClock.access$700()) + ":" + AtomicClock.access$800(AtomicClock.access$900()) + ":" + AtomicClock.access$800(AtomicClock.access$1000()));
- AtomicClock.access$1200().setText(AtomicClock.access$600() + " (" + AtomicClock.access$1100() + ")");
-
- try {
- Thread.sleep(1000L);
- } catch (Exception var2) {
- this.this$0.a("Atomic Clock interrupted\n" + var2);
- }
-
- AtomicClock.access$1008();
- if (AtomicClock.access$1000() == 60) {
- AtomicClock.access$908();
- AtomicClock.access$1002(0);
- if (AtomicClock.access$900() == 60) {
- AtomicClock.access$708();
- AtomicClock.access$902(0);
- if (AtomicClock.access$700() == 24) {
- AtomicClock.access$702(0);
- }
- }
- }
- }
- }
-
- }
-
- // $FF: renamed from: do () void
- private synchronized void method_0() {
- if (!this.field_1) {
- this.field_1 = true;
-
- try {
- this.notify();
- } catch (Exception var2) {
- this.this$0.a("Application error 1");
- }
- }
-
- }
-
- // $FF: renamed from: if () void
- private void method_1() {
- this.field_0 = true;
- this.field_1 = false;
-
- try {
- this.notify();
- } catch (Exception var2) {
- this.this$0.a("Application error 2");
- }
-
- }
-
- // $FF: renamed from: a () void
- private synchronized void method_2() {
- if (!this.field_1) {
- try {
- this.notify();
- } catch (Exception var2) {
- this.this$0.a("Application error 3");
- }
-
- this.field_1 = true;
- }
-
- this.field_0 = false;
- }
-
- // $FF: synthetic method
- static void access$100(AtomicClock$c var0) {
- var0.method_2();
- }
-
- // $FF: synthetic method
- static void access$500(AtomicClock$c var0) {
- var0.method_1();
- }
-
- // $FF: synthetic method
- static void access$1500(AtomicClock$c var0) {
- var0.method_0();
- }
- }
-